<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
<title></title>
</head>

<body>
<script type="text/javascript">
    function address(province,city,area,detailed){
        document.write(province+city+area+detailed);         //在页面中弹出对话框
    }
</script>
<h2>请核对您的收货地址</h2>
<script type="text/javascript">
    address("吉林省","长春市","朝阳区","工农大路51号");  //调用函数并传递参数
</script>
</body>
</html>
